package com.fumin.service.supperMapper;


import com.fumin.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by Lingo on 2018/2/11.
 */
public interface SuperUserMapper   {

    List<User> selectFatherUsers(long pk);

    User selectByPhone(String phone);

    Map<String ,Long> selectNum ();
    List<Map<String,Long>> selectRankData();
    List<Map<String,Object>> selectTop();
    Map<String,Object> selectLast();
    User selectByPcode(String pCode);
    Map<String,String>  selectAllFatherUsers(Long userId);
    List<User> selectAllFatherUsersInfo(List<String> userIds);
}
